<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Cheshire-CSG: Diff Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Cheshire-CSG
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Diff Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Diff" --><!-- doxytag: inherits="OpBin" -->
<p><a class="el" href="class_diff.html" title="Diff class.">Diff</a> class.  
 <a href="class_diff.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="diff_8h_source.html">diff.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Diff:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_diff.png" usemap="#Diff_map" alt=""/>
  <map id="Diff_map" name="Diff_map">
<area href="class_op_bin.html" title="OpBin class." alt="OpBin" shape="rect" coords="0,56,47,80"/>
<area href="class_node.html" title="Node class." alt="Node" shape="rect" coords="0,0,47,24"/>
</map>
 </div></div>

<p><a href="class_diff-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a97d13870f4c698c6242937f91092330e"></a><!-- doxytag: member="Diff::Diff" ref="a97d13870f4c698c6242937f91092330e" args="(Node *, Node *)" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>Diff</b> (<a class="el" href="class_node.html">Node</a> *, <a class="el" href="class_node.html">Node</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_diff.html#a9d9ee35accad3efbed3aba5fc9da022c">Intersect</a> (const <a class="el" href="class_ray.html">Ray</a> &amp;, <a class="el" href="class_intersection.html">Intersection</a> &amp;)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Intersecting function.  <a href="#a9d9ee35accad3efbed3aba5fc9da022c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_diff.html#ad2e06f30b3998b3c9592821e9a037697">Intersect</a> (const <a class="el" href="class_ray.html">Ray</a> &amp;, <a class="el" href="class_intersection.html">Intersection</a> &amp;, <a class="el" href="class_intersection.html">Intersection</a> &amp;)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Intersecting function.  <a href="#ad2e06f30b3998b3c9592821e9a037697"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_diff.html#a9569764d64e3cc072c554ceffad7934a">PMC</a> (const <a class="el" href="class_vector.html">Vector</a> &amp;)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Containing function.  <a href="#a9569764d64e3cc072c554ceffad7934a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3c7c9dfc158002c877a4ef0aeac30900"></a><!-- doxytag: member="Diff::getEmission" ref="a3c7c9dfc158002c877a4ef0aeac30900" args="()" -->
<a class="el" href="class_vector.html">Vector</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getEmission</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afb4a403e4cbc49710fb7b6f570c3fe39"></a><!-- doxytag: member="Diff::getColor" ref="afb4a403e4cbc49710fb7b6f570c3fe39" args="()" -->
<a class="el" href="class_vector.html">Vector</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getColor</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8c962ee4f6a0df72e7a69322de3210b8"></a><!-- doxytag: member="Diff::getPosition" ref="a8c962ee4f6a0df72e7a69322de3210b8" args="()" -->
<a class="el" href="class_vector.html">Vector</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getPosition</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad9c0799bfde75340e584a1ea20d7f564"></a><!-- doxytag: member="Diff::getRefl" ref="ad9c0799bfde75340e584a1ea20d7f564" args="()" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>getRefl</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a55bd9230b7be32d4e9a1e20a5ff5df10"></a><!-- doxytag: member="Diff::getF" ref="a55bd9230b7be32d4e9a1e20a5ff5df10" args="()" -->
double&#160;</td><td class="memItemRight" valign="bottom"><b>getF</b> ()</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="class_diff.html" title="Diff class.">Diff</a> class. </p>
<p><a class="el" href="class_diff.html" title="Diff class.">Diff</a> is a binary operand of the CSG </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a9d9ee35accad3efbed3aba5fc9da022c"></a><!-- doxytag: member="Diff::Intersect" ref="a9d9ee35accad3efbed3aba5fc9da022c" args="(const Ray &amp;, Intersection &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Diff::Intersect </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_ray.html">Ray</a> &amp;&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_intersection.html">Intersection</a> &amp;&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Intersecting function. </p>
<p>Compute the intersection between a difference and a ray</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ray</td><td>: the ray </td></tr>
    <tr><td class="paramname">t</td><td>: the intersection </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="class_node.html#ac0836475b7b0275dffe5ce89547f6852">Node</a>.</p>

</div>
</div>
<a class="anchor" id="ad2e06f30b3998b3c9592821e9a037697"></a><!-- doxytag: member="Diff::Intersect" ref="ad2e06f30b3998b3c9592821e9a037697" args="(const Ray &amp;, Intersection &amp;, Intersection &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Diff::Intersect </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_ray.html">Ray</a> &amp;&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_intersection.html">Intersection</a> &amp;&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_intersection.html">Intersection</a> &amp;&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Intersecting function. </p>
<p>Compute the intersections between a difference and a ray</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ray</td><td>: the ray </td></tr>
    <tr><td class="paramname">t1</td><td>: the first intersection </td></tr>
    <tr><td class="paramname">t2</td><td>: the second intersection </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="class_node.html#a8f308647523fba2603248b83149855a5">Node</a>.</p>

</div>
</div>
<a class="anchor" id="a9569764d64e3cc072c554ceffad7934a"></a><!-- doxytag: member="Diff::PMC" ref="a9569764d64e3cc072c554ceffad7934a" args="(const Vector &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Diff::PMC </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_vector.html">Vector</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Containing function. </p>
<p>Checks if a point is inside the instance</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">u</td><td>: the point </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="class_node.html#aeecdf01a88be40840b65eb34cecc7a3c">Node</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>headers/<a class="el" href="diff_8h_source.html">diff.h</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Sun Oct 2 2011 17:01:12 for Cheshire-CSG by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
